//  SKU调拨列表
export const allocationColumns = [
  { width: 150, label: '调拨单号', prop: 'order_sn' },
  { width: 110, label: '调拨类型', prop: 'transfer', slot: true },
  { width: 800, label: '商品信息', prop: 'goods_content', align: 'center', slot: true },
  { width: 260, label: '备注', prop: 'remark' },
  { width: "auto", label: '调拨时间', prop: 'created_at', slot: true },
]

//  SKU调拨-详情
export const allocationDetail = {
  detailList: [
    { label: '单号', value: 'order_sn' },
    { label: '调拨类型', value: 'type' },
    { label: '调拨时间', value: 'created_at' },
    { label: '白条名称', value: 'goods_name' },
    { label: '初始白条重量', value: 'stock_out_num' },
    { label: '初始白条总价', value: 'stock_init_price' },
    { label: '子料总重量', value: 'list_total_num' },
  ],
  detailColumns: [
    { width: "auto", label: '序号', prop: 'sn' },
    { width: "auto", label: '子料名称', prop: 'goods_name' },
    { width: "auto", label: '单位', prop: 'unit' },
    { width: "auto", label: '分割数量', prop: 'storage_num' },
    { width: "auto", label: '库存价', prop: 'storage_price' },
    { width: "auto", label: '金额', prop: 'money' },
    { width: "auto", label: '备注', prop: 'remark' },
  ]
}

// 库存不足详情弹框列表
export const inventoryDialogColumns = [
  { width: 200, label: '商品名称', prop: 'goods_name' },
  { width: 140, label: '用户名称', prop: 'user_name', slot: true, class: "main_hei paddingAdjust" },
  { width: 150, label: '订单号', prop: 'order_sn', slot: true, class: "main_hei paddingAdjust" },
  { width: 70, label: '下单量', prop: 'order_num', slot: true, class: "main_hei paddingAdjust" },
  { width: 70, label: '分拣量', prop: 'sort_num', slot: true, class: "main_hei paddingAdjust" },
  { width: 120, label: '出库合计数量', prop: 'stock_out_total_num' },
  { width: 80, label: '当前库存', prop: 'goods_storehouse_num' },
  { label: '待补充库存', prop: 'need_goods_num' },
]